Spread WPF 17
GrapeCity.CalcEngine.Functions Namespace / CalcRoundUpFunction Class / Evaluate Method / Evaluate(Object[]) Method

The args contains 2 items: number, num_digits.

Number is any real number that you want rounded up.

Num_digits is the number of digits to which you want to round number.



In This Topic
    Evaluate(Object[]) Method
    In This Topic
    Rounds a number up, away from 0.
    Syntax
    'Declaration
     
    Public Overloads Overrides Function Evaluate( _
       ByVal args() As Object _
    ) As Object
    'Usage
     
    Dim instance As CalcRoundUpFunction
    Dim args() As Object
    Dim value As Object
     
    value = instance.Evaluate(args)
    public override object Evaluate( 
       object[] args
    )

    Parameters

    args

    The args contains 2 items: number, num_digits.

    Number is any real number that you want rounded up.

    Num_digits is the number of digits to which you want to round number.

    Return Value

    A System.Double value that indicates the evaluate result.
    See Also